package com.hoas.quickstart.threads.chapter01.chapter01_2_7;

public class Run {

    public static void main(String[] args) {
        System.out.printf(">> 该demo演示了一个线程的数据共享情况,且代码是非线程安全的 << \n");

        MyThread thread = new MyThread();

        Thread a = new Thread( thread, "A");
        Thread b = new Thread( thread, "B");
        Thread c = new Thread( thread, "C");
        Thread d = new Thread( thread, "D");
        Thread e = new Thread( thread, "E");
        Thread f = new Thread( thread, "F");
        Thread g = new Thread( thread, "G");
        Thread h = new Thread( thread, "H");
        Thread i = new Thread( thread, "I");

        a.start();
        b.start();
        c.start();
        d.start();
        e.start();
        f.start();
        g.start();
        h.start();
        i.start();


    }

}
